package com.dly.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dly.blog.domain.FreeFrequency;
import com.dly.blog.domain.ro.GetCodeRO;
import com.dly.blog.domain.ro.ParseCodeRO;
import com.dly.blog.enums.FreeType;

public interface FreeFrequencyService extends IService<FreeFrequency> {

    /**
     * 获取code
     */
    String getCode(GetCodeRO getCodeRO);

    /**
     * 解释code
     */
    void parseCode(ParseCodeRO parseCodeRO);

    /**
     * 过期
     */
    void overdue(String code);
}
